package com.boe.csb.core.dao;

import com.boe.csb.core.entity.po.ApiCategory;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

@Repository
public interface ApiCategoryMapper {
    long countByExample(ApiCategoryCriteria example);

    int deleteByExample(ApiCategoryCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(ApiCategory record);

    int insertSelective(ApiCategory record);

    List<ApiCategory> selectByExampleWithRowbounds(ApiCategoryCriteria example, RowBounds rowBounds);

    List<ApiCategory> selectByExample(ApiCategoryCriteria example);

    ApiCategory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ApiCategory record, @Param("example") ApiCategoryCriteria example);

    int updateByExample(@Param("record") ApiCategory record, @Param("example") ApiCategoryCriteria example);

    int updateByPrimaryKeySelective(ApiCategory record);

    int updateByPrimaryKey(ApiCategory record);


}